import my_requests from "@/plugins/request";

/**
 * 查询全部_followingDetail信息
 */
export function get_followingDetailInfo(queryData){
    return my_requests({
        url: '/followingDetail',
        method: 'get',
        params:queryData
    })
}

/**
 * 查询单个_followingDetail信息
 */
export function get_followingDetailInfoById(Id){
    return my_requests({
        url: '/followingDetail/'+Id,
        method: 'get',
    })
}

export function get_IsFollowing(queryData){
    return my_requests({
        url: '/followingDetail/isFollowing',
        method: 'get',
        params:queryData
    })
}


/**
 * 新增_followingDetail信息
 */
export function add_followingDetailInfo(data){
    return my_requests({
        url: '/followingDetail',
        method: 'post',
        data:data
    })
}


/**
 * 修改_followingDetail信息
 */
export function modify_followingDetailInfo(data){
    return my_requests({
        url: '/followingDetail',
        method: 'put',
        data:data
    })
}


/**
 * 删除_followingDetail信息
 */
export function delete_followingDetailInfo(id){
    return my_requests({
        url: '/followingDetail/'+id,
        method: 'delete',
    })
}

/**
 * 删除_followingDetail信息 根据用户名和被关注人用户名称
 */
export function deleteFollowingByUserNameAndFolloweeName(data){
    return my_requests({
        url: '/followingDetail/deleteFollowingByUserNameAndFolloweeName',
        method: 'post',
        data:data
    })
}

/**
 * 批量删除_followingDetail信息
 */
export function delete_followingDetailInfoBatch(idArr){
    return my_requests({
        url: '/followingDetail/deleteBatch',
        method: 'post',
        data:idArr
    })
}



